-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libxls: add recipe #12152
libxls: add recipe #12152
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@uilianries I think I can compile it because upstream has an issue on MSVC, but I couldn't figure out how to fix it on AutotoolsToolchain. |
@toge Yes, we have few good examples, but they work, as this one:https://github.com/conan-io/conan-center-index/pull/13263/files Basically, you need to get Another good option and more clear (Which I prefer): https://github.com/conan-io/conan-center-index/blob/master/recipes/libbacktrace/all/conanfile.py#L91 In case it does not work, please, skip it. |
@uilianries |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This comment has been minimized.
This comment has been minimized.
I have given up support for Windows... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As always your work is out standinging.
I just had one question and a few linter things I pointed out :)
if is_apple_os(self): | ||
self.cpp_info.system_libs.append("iconv") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am surprised it's a system lib on Mac 🤔 not usually the case... care to share with me? I am not familar with this project
if is_apple_os(self): | |
self.cpp_info.system_libs.append("iconv") | |
if is_apple_os(self): | |
self.cpp_info.system_libs.append("iconv") | |
else: | |
self.cpp_info.requires.append("libiconv::libiconv") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prince-chrismc
Sorry, I neglected it so much that I forgot some of it.
I will investigate again.
if not is_apple_os(self): | ||
self.cpp_info.requires.append("libiconv::libiconv") | ||
|
||
# TODO: Remove in Conan 2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not is_apple_os(self): | |
self.cpp_info.requires.append("libiconv::libiconv") | |
# TODO: Remove in Conan 2.0 | |
# TODO: Remove in Conan 2.0 |
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
This comment has been minimized.
This comment has been minimized.
Conan v1 pipelineAll green in build 20 (
|
CI is happy and this a a lot of great work, I'd love to see it go in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* libxls: add recipe * fix KB of cci * skip pylint in test_V1_package * set HAVE_XLOCALE * link libiconv * don't link iconv on macos * link iconv in CMakeLists.txt * fix package name * support ssize_t in MSVC * follow conan v2 * fix self.options.shared wrong usage * replace restrict for msvc 15 * use autotools Signed-off-by: Uilian Ries <uilianries@gmail.com> * not autoreconf Signed-off-by: Uilian Ries <uilianries@gmail.com> * Windows build Signed-off-by: Uilian Ries <uilianries@gmail.com> * license Signed-off-by: Uilian Ries <uilianries@gmail.com> * update conan 1.52.0 * fix rpl_malloc undefined eerror * drop support windows * removed unused import Co-authored-by: Chris Mc <prince.chrismc@gmail.com> * remove replace_in_file Co-authored-by: Chris Mc <prince.chrismc@gmail.com> * remove unused import Co-authored-by: Chris Mc <prince.chrismc@gmail.com> * improve validation error message Co-authored-by: Chris Mc <prince.chrismc@gmail.com> Signed-off-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Specify library name and version: libxls/1.6.2
libxls is xls(old type Excel) file reader library.